home *** CD-ROM | disk | FTP | other *** search
/ Ahoy 1986 March / Ahoy_Magazine_86-03_1986_Double_L.d64 / typing tutor (.txt) < prev    next >
Commodore BASIC  |  2022-10-26  |  242b  |  9 lines

  1. 10 rem  problem #23-4 :
  2. 20 rem    typing tutor
  3. 30 rem  solution by gary hudach
  4. 40 rem
  5. 50 s$="the old grey fox is sly and quick":ti$="000000":prints$:forx=1tolen(s$)
  6. 60 getc$:ifc$=""then60
  7. 70 if c$<>mid$(s$,x,1)thenm=m+1
  8. 80 printchr$(18);chr$(145)spc(x-1)c$:printchr$(145):next:printm;ti
  9.